package com.moli.iov.handle.alarm.enums;

/**
 * <p>
 *  是否校验 正在报警
 * </p>
 *
 * @author zql
 * @since 2019/9/2 11:13
 */
public enum CheckAlarmEnum {

  /**
   * 校验
   */
  YES( true, "校验"),

  /**
   * 不校验
   */
  NO(false, "不校验");

  private boolean flag;

  private String msg;

  CheckAlarmEnum(boolean flag, String msg){
    this.flag = flag;
    this.msg = msg;
  }

  public boolean isFlag() {
    return flag;
  }

  public String getMsg() {
    return msg;
  }
}
